package com.gilgamesh.mall.product.service;

import com.gilgamesh.mall.sdk.bean.product.ProductDetailEntity;
import com.gilgamesh.mall.sdk.dto.ResponseDTO;
import com.gilgamesh.mall.sdk.dto.product.ProductDetailDTO;

import java.util.List;

/**
 * Created by Peiyao.Wang on 2021/1/13
 *
 * @author Peiyao.Wang
 * @date 2021/1/13
 */
public interface ProductDetailService {
    ResponseDTO<ProductDetailDTO> getProductDetailById(Long id);

    ResponseDTO<List<ProductDetailDTO>> listProductDetail(ProductDetailEntity productDetailEntity);

    ResponseDTO<Integer> add(ProductDetailEntity productDetailEntity);
}
